package com.eascs.p2p.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the p2p_banner_set database table.
 * 
 */
@Entity
@Table(name="p2p_banner_set")
@NamedQuery(name="BannerSetEntity.findAll", query="SELECT b FROM BannerSetEntity b")
public class BannerSetEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="banner_order")
	private int bannerOrder;

	private String code;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	private String creator;

	private String description;

	@Column(name="image_url")
	private String imageUrl;

	@Column(name="is_link_enabled")
	private int isLinkEnabled;

	private int isDisplay;

	private String name;

	private String regenerator;

	private int target;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="update_time")
	private Date updateTime;

	private String url;

	public BannerSetEntity() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getBannerOrder() {
		return this.bannerOrder;
	}

	public void setBannerOrder(int bannerOrder) {
		this.bannerOrder = bannerOrder;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getImageUrl() {
		return this.imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public int getIsLinkEnabled() {
		return this.isLinkEnabled;
	}

	public void setIsLinkEnabled(int isLinkEnabled) {
		this.isLinkEnabled = isLinkEnabled;
	}

	public int getIsDisplay() {
		return this.isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRegenerator() {
		return this.regenerator;
	}

	public void setRegenerator(String regenerator) {
		this.regenerator = regenerator;
	}

	public int getTarget() {
		return this.target;
	}

	public void setTarget(int target) {
		this.target = target;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}